﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GUI
{
    public partial class frmDanhSachThucDon : Form
    {
        public frmDanhSachThucDon()
        {
            InitializeComponent();
        }

        private void LoadDanhsach()
        {
            dgvDanhSach.Rows.Clear();
            dgvDanhSach.Rows.Add(1, dtNgay.Text.ToString(), "Cơm Gà", 10, 45000);
            dgvDanhSach.Rows.Add(2, dtNgay.Text.ToString(), "Thit Kho Trứng", 10, 45000);
            dgvDanhSach.Rows.Add(3, dtNgay.Text.ToString(), "Cá Kho To", 10, 45000);
            dgvDanhSach.Rows.Add(4, dtNgay.Text.ToString(), "Lẩu Thái", 10, 45000);
            lbSLPhanAn.Text = "4";
        }

        private void btXem_Click(object sender, EventArgs e)
        {
            LoadDanhsach();
        }

    }
}
